home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2995 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  796 b 

  1. Path: ix.netcom.com!netnews
  2. From: miker3@ix.netcom.com (Mike Rubenstein)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: localtime
  5. Date: Thu, 25 Jan 1996 11:56:43 GMT
  6. Organization: Netcom
  7. Message-ID: <31076fb0.51958144@nntp.ix.netcom.com>
  8. References: <61VnNPt6nTB@softsite.co.at>
  9. NNTP-Posting-Host: ix-dc9-26.ix.netcom.com
  10. X-NETCOM-Date: Thu Jan 25  3:56:35 AM PST 1996
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. wsog@softsite.co.at (Walter Sommergruber) wrote:
  14.  
  15. > In ANSI C the function localtime returns a pointer to a struct tm.
  16. > The documentation of my compiler says
  17. > "tm.tm_year = Year (current year minus 1900)"
  18. > Is this defined behaviour ?
  19. > Can I assume "tm_year+1900 = real year" will work also after the
  20. > year 2000 ? Or is this compiler dependend ?
  21.  
  22. This is standard.
  23.  
  24.  
  25. Michael M Rubenstein
  26.